Added syntax to copy stdout to a file