You will have to write a UDF for this that checks every file for the correct filedate. However, using XCOPY for this task is definitely faster and more efficient than rewriting this functionality into a UDF.

As for the structure of a potential UDF. You will have to enumerate each file/folder in the source directory, check whether a potentially existing file inthe destination directory fits the date/time constraints (use DATEMATH() UDF)) and then copy the file/folder. Definitely not efficient.
_________________________
There are two types of vessels, submarines and targets.