fixing copy command