rem: memcpy(bag->items + bag->count, appendedBag->items, appendedBag->count);
add: memcpy(bag->items + bag->count, appendedBag->items, sizeof(void*) * appendedBag->count);
context: WMAppendBag(WMBag *bag, WMBag *appendedBag){    bag->items = wrealloc(bag->items, 			  sizeof(void*) * (bag->size+appendedBag->count));    memcpy(bag->items + bag->count, appendedBag->items, appendedBag->count);    bag->count += appendedBag->count;}