public byte[] toByteArray() {
    byte[] result = new byte[data.length];
    System.arraycopy(data, 0, result, 0, data.length);
    return result;
  }
@return a copy of the bytes wrapped by this object.
java_src/src/main/java/com/google/crypto/tink/util/Bytes.java