avoid copyTo(outputarray.getMat()) pattern
avoid copyTo(outputarray.getMat()) pattern

- leads to errors due 'const' modifier of getMat() method
- may be non-optimal with non-CPU data storage

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv