Don't copy trailing spaces
(enhancement for #2)