Skip to content

Instantly share code, notes, and snippets.

@mgdelacroix
Created December 11, 2013 15:55
Show Gist options
  • Save mgdelacroix/7912901 to your computer and use it in GitHub Desktop.
Save mgdelacroix/7912901 to your computer and use it in GitHub Desktop.
Copy a file with groovy
new File(destinationPath) << new File(originPath).bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment