update copyFiles: if using new dub with support of directory copying, copy resources to destination directory for library users