copy can now take a string or File for the file and destination parameters.