first go at bc_memcpy and bc_getdelim