You don't need this copy. `attr.indices` is already a typed array.