public byte[] getBytes() {
    checkBytes();

    int len = getTotalLength();
    byte[] b = new byte[len];

    System.arraycopy(currentBytes, offset, b, 0, len);
    return b;
  }
Used to create copies of objects

@return a copy of the internal TimestampTZWritable byte[]
serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampLocalTZWritable.java