fix method cp to mv, when dotfile set from temporary dir