You don't say where you want to copy the matching files. So you'll need to modify the commands as necessary:
You can use the -exec option with find. Something like:
Code:
find . -name '*.pl' -exec cp {} <destination_path> \;
That command will invoke cp once for every matching file found. If you don't want that overhead, you could do something like this:
Code:
find . -name '*.pl' | xargs cp {} <destination_path>
In this case, you execute cp only once, but it forces your script to copy all the matching files to a single directory. Also keep in mind that if you have a LOT of matching files, the command may exceed the maximum length--causing the cp command to fail.