@@ -0,0 +1,544 @@
+package org.helioviewer.base;%0A%0Aimport java.util.Arrays;%0A%0Apublic class ArrayUtils %7B%0A%0A    public static %3CT%3E T%5B%5D concatAll(T%5B%5D first, T%5B%5D... rest) %7B%0A        int totalLength = first.length;%0A        for (T%5B%5D array : rest) %7B%0A            totalLength += array.length;%0A        %7D%0A%0A        T%5B%5D result = Arrays.copyOf(first, totalLength);%0A        int offset = first.length;%0A        for (T%5B%5D array : rest) %7B%0A            System.arraycopy(array, 0, result, offset, array.length);%0A            offset += array.length;%0A        %7D%0A%0A        return result;%0A    %7D%0A%0A%7D%0A

Add ArrayUtils