in reply to Re^2: file::copy problem
in thread file::copy problem

Also, as another sanity check, print the loop variables within each of your loops to make sure the loops are at least trying to process a list of files.