fixed stdout in a copy command.  Also put in the copy command.