Merge pull request #2809 from ilya-lavrenov:tapi_copy_perf