Use function to autodetect encoding when performing a copy of files