for copying one branch into another