Bug fix on the cp -R command that copy in an inconsistent way