Copies stdout (or any other IO stream) contents to a file or another stream. Works with subprocesses too.
Daniel Vartanov
MIT