A generic static version that uses the high performing System.arraycopy without requiring a @SuppressWarnings annotation:
public static T[] arrayConcat(T[] a, T[] b) {
T[] both = Arrays.copyOf(a, a.length + b.length);
System.arraycopy(b, 0, both, a.length, b.length);
return both;
}