Copying newlines correctly.