Hi, everyone. In my program, there are two tasks(task1 and task2) and one global variable(unsigned char array[3][1920*1080]). In task1, we copy data from the video driver to the array[3][1920*1080], and the data in the array[3][1920*1080] is right. In task2, we copy data from array[3][190*1080] to a local variable(unsigned char array_local[3][1920*1080]) by calling the function memcpy()(memcpy(array_local,array,3*1920*1080)),However, some data in the array_local[3][1920*1080] is wrong. Besides, we use the loop to copy(for(i=0;i<=2;i++) for(j=0;j<=1920*1080-1;j++) array_local[i][j]=array[i][j];)),the result is same with that by calling memcpy(). what causes the failure of data copying, please help me. Thank you.