public byte[] addBytes(byte[] data1, byte[] data2) {
        byte[] data3 = new byte[data1.length + data2.length];
        System.arraycopy(data1, 0, data3, 0, data1.length);
        System.arraycopy(data2, 0, data3, data1.length, data2.length);
        return data3;
    }
Concatenated byte array

@return data1 and data2 combined package result
inlong-audit/audit-sdk/src/main/java/org/apache/inlong/audit/util/AuditData.java