copy command works