Fixed cp and mv commands.