code: public static Object[] merge(Object[]... arrays) {
  		int size = 0;
  		for (Object[] arr : arrays) size += arr.length;
  		Object[] concat = new Object[size];
  
  		int destPos = 0;
  		for (Object[] src : arrays) {
  			System.arraycopy(src, 0, concat, destPos, src.length);
  			destPos += src.length;
  		}
  
  		return concat;
  	}
docs: /* merge