Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::copy(
- std::istreambuf_iterator<char>(std::ifstream(from, std::ifstream::binary)),
- std::istreambuf_iterator<char>(),
- std::ostreambuf_iterator<char>(std::ofstream(to, std::ofstream::binary)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement