better EOL copying