to_array on vecs