public static Object[] combine(int size, Object[]... arrays) {
        int offset = 0;
        Object[] target = new Object[size];
        for (Object[] arr : arrays) {
            System.arraycopy(arr, 0, target, offset, arr.length);
            offset += arr.length;
        }
        return target;
    }
ArrayUtils provides array related utility functionality

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/util/ArrayUtils.java