The Perl Cookbook Recipe 9.3 "Copying or Moving a File" suggests using the File::Copy module - you can get the perldoc documentation by doing "perldoc File::Copy". *Or*, the other option it suggests is using the "system" command as you've tried to do - here's how it suggests using system:
system("cp $oldfile $newfile"

; ### unix
The Programming Perl 2nd edition p.230 describes using the "system" command - here's what it suggests:
@args = ("command", "arg1", "arg2"

;
system(@args) == 0
or die "system @args failed: $?";
So, following that, I would do something like this for your cp command:
@args = ("cp", "$oldfile", "$newfile"

;
system(@args) == 0
or die "system @args failed: $?";
HTH.
Hardy Merrill
Mission Critical Linux, Inc.