implemented cp and mv