Copy pdf content without delete newline

as show in picture, newline has been deleted… that’s bad especially if I want to copy some code