Wouldn't it be easier (and more efficient) to just invoke `ToArray()` here?