add dotfiles support for file copy