Copies too much data and clobbers 'out' past the length that Gets() returns. Callers may not expect that.