public static <T> T[] conact(T[] a, T[] b, ArrayCreator<T> creator) {
    T[] res = creator.newArray(a.length + b.length);
    System.arraycopy(a, 0, res, 0, a.length);
    System.arraycopy(b, 0, res, a.length, b.length);
    return res;
  }
Returns true if the two ArrayLists are equal with respect to the objects they contain. The
objects must be in the same order and be reference equal (== not .equals()).
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/ArrayUtils.java