Copy-on-Write

**Copy-on-Write** when write from ruby String to packer->mem.
this change became to fast and reduce memory when pack string.