issue #3113: Updating CMakeLists.txt, Improve Copying files.
Merge pull request #4101 from dumganhar/cmake-copy-file

issue #3113: Updating CMakeLists.txt, Improve Copying files.