class ByteUtils {

    public static byte[] join(byte[] value1, byte[] value2) {
        int length = value1.length + value2.length;
        byte[] result = new byte[length];
        System.arraycopy(value1, 0, result, 0, value1.length);
        System.arraycopy(value2, 0, result, value1.length, value2.length);
        return result;
    }

}