add a bitset_copy_into function and use it in belive.c to avoid assertion failures