1、Copy()
2、ConstrainedCopy()
3、Array.ConstrainedCopy()
主要针对 List<byte> VideoList 拷贝到 byte[] btCurrentBitmapImage
int iCameraFlag = 1; //视频监控开关状态。0:关闭。1:打开。
List<byte> VideoList = new List<byte>(); //存放视频帧
const int BITMAP_IMAGE_LENGTH = 921654; //帧字节长度
byte[] btCurrentBitmapImage = new byte[BITMAP_IMAGE_LENGTH];//当前帧
byte[] btLastBitmapImage = new byte[BITMAP_IMAGE_LENGTH];//上一帧
Array.ConstrainedCopy(VideoList.ToArray(), FLAG_LENGTH, btCurrentBitmapImage, 0, BITMAP_IMAGE_LENGTH);