fix copy command