chore: add dotfile support to copy:main task