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