copies everything properly and deletes old dir