lv_canvas_copy_buf() function
Copy a buffer to the canvas
Arguments
obj
pointer to a canvas object
canvas_area
the area of the canvas to copy
dest_buf
pointer to a buffer to store the copied data
dest_area
the area of the destination buffer to copy to. If omitted NULL, copy to the whole `dest_buf`