Microsoft interview question

How would you test a function this function and make sure it works? The function would take in two file paths as parameters and then copy the contents of the first file path into the second one?