Made copy_buffer_data to parameter non-const
Fixed compile errors in HsvColor