Rewrite CopyFiles to use StrDict rather than the JudySL functions