Use any of the DIR UDFs posted in the UDF Forum to enumerate the files. However, depending on how many files you have to copy this will be a very inefficient and slow way to accomplish this.

Would you mind providing use the big picture as I suspect you're not telling the whole story.

Why not copy the files manually? Should be faster than writing a script, especially if it's just a one-time deal.
_________________________
There are two types of vessels, submarines and targets.