public static <T> T[] createCopy(T[] src) {
        return Arrays.copyOf(src, src.length);
    }
@Test
    public void createCopy_whenNonZeroLengthArray_thenReturnDifferentArrayWithItems() {
        Object[] original = new Object[1];
        Object o = new Object();
        original[0] = o;

        Object[] result = ArrayUtils.createCopy(original);
        assertThat(result).isNotSameAs(original);
        assertThat(result).hasSize(1);
        assertThat(result[0]).isSameAs(o);
    }