fix: copy text file may have an extra line seperator