File copying version 3 (replace one or more blanks by a single blank)