copy_branches