Implement Action interface for CopyTtlOut
Refactor of Read() and Write() method to use encoding/binary