# ToArray()

> Copies the elements of this BlobArray to a new managed array.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public T[] ToArray()
```

### Returns

| Type              | Description                                                  |
| ----------------- | ------------------------------------------------------------ |
| [\<T>\[\]](./.md) | An array containing copies of the elements of the BlobArray. |
