better error detection with copy command on cisco_ios