my $cpcmd = '/bin/cp'; system($cpcmd $curfile $newfile);