dynarr -> vector