public static Writable copyWritable(final Writable src, final Writable tgt) throws IOException {
    return copyWritable(getBytes(src), tgt);
  }
Copy one Writable to another. Copies bytes using data streams.
@param src Source Writable
@param tgt Target Writable
@return The target Writable.
@throws IOException e
hbase-client/src/main/java/org/apache/hadoop/hbase/util/Writables.java