fixed many COPY_INSTEAD_OF_MOVE
Coverity warnings
#5944
Merged
COPY_INSTEAD_OF_MOVE
Coverity warnings
#5944