Generalized data-buffering for RTI
Fixing memcpy bug. O:-)