my $folder = '/path//'; find (\©, $folder); sub copy { system "cp x /newpath/'; system "cp y /newpath/'; }