Also pass destpath into file.copy "process" function. Closes gh-1161.