public static byte[] copyArray(byte[] src) {
        return Arrays.copyOf(src, src.length);
    }
Returns a copy of src byte array
@param src The byte array to copy
@return The copy
clients/src/main/java/org/apache/kafka/common/utils/Utils.java