Also see if your distribution includes samples/ilm/mmxcp
which, if you are determined to cp or mv from one path to another, shows a way to do that easily in perl,
using code similar to the aforementions bin/mmxargs
Here is the path changing part...
...
$src =~ s/'/'\\''/g; # any ' within the name like x'y become x'\''y then we quote all names passed to commands
my @src = split('/',$src);
my $sra = join('/', @src[$strip+1..$#src-1]);
$newtarg = "'" . $target . '/' . $sra . "'";
...