what's the easiest way to iterate through a Tempfile?

basically i want to append the contents of a tempfile (created by
Tempfile.new) to the end of a regular file (created by File.open)