Constify read-only char* arguments in copy_cmdarg().