Unify copyPlugins and copyPluginsFromLanguage