Unisys interview question

1.Reverse the file contents from one to another