Code

data: Added helper functions to copy and free data.