Skip to content

Instantly share code, notes, and snippets.

@bhenry
Created July 22, 2010 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhenry/486723 to your computer and use it in GitHub Desktop.
Save bhenry/486723 to your computer and use it in GitHub Desktop.
(defn test-copy [str-from str-to]
(let [from (file str-from)
to (file str-to)
in (java.io.FileReader. from)
out (java.io.FileWriter. to)]
(copy in out)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment