copyToAsync method
Implementation
Future<void> copyToAsync(Mat dst, {Mat? mask}) async => cvRunAsync0(
(callback) => mask == null
? cffi.Mat_CopyTo_Async(ref, dst.ref, callback)
: cffi.Mat_CopyToWithMask_Async(ref, dst.ref, mask.ref, callback),
voidCompleter,
);