This method receive the content of a file and copy it to a new file