Added ending newline char for StreamCopyTrait