implement copy/paste of modules
closes #99