Skip to content

Instantly share code, notes, and snippets.

@giltayar
Created November 20, 2017 10:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save giltayar/6f4d6e342e0f62082c650f192853ee29 to your computer and use it in GitHub Desktop.
byte[] content = Files.readAllBytes(Paths.get("source.txt"));
Files.write(Paths.get("target.txt"), content);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment