# ToArrayNBC<T>(NativeList<T>)

> Returns a new managed array which is a copy of this list.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.NotBurstCompatible](/engine/6000.7/script-reference/unity/collections/notburstcompatible.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
[ExcludeFromBurstCompatTesting("Returns managed array")]
public static T[] ToArrayNBC<T>(this NativeList<T> list) where T : unmanaged
```

### Parameters

**** (\[NativeList\<T>]\(/engine/6000.7/script-reference/unity/collections/nativelist1)): The list to copy.

### Returns

| Type              | Description                                       |
| ----------------- | ------------------------------------------------- |
| [\<T>\[\]](./.md) | A new managed array which is a copy of this list. |
