lv_draw_buf_dup_ex() function
Duplicate a draw buf with same image size, stride and color format. Copy the image data too.
Arguments
handlers
the draw buffer handlers
draw_buf
the draw buf to duplicate
Return value
the duplicated draw buf on success, NULL if failed