Added a copy function on the pixel_buffer_t.