The first writes the command it is about to execute to a log file, but does nothing useful.
The second actually executes XCOPY but answers the question that gets asked with the letter "F" presumably when XCOPY asks "Do you mean Files or Directories?"