refactor(dom) copyCurrent -> copyFiles