# CopyFromNBC<T>(NativeList<T>, T[])

> Clears this list and then copies all the elements of an array to this list.

## Definition

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

## CopyFromNBC\<T>(NativeList\<T>, \`\<>\[])

```csharp
[ExcludeFromBurstCompatTesting("Takes managed array")]
public static void CopyFromNBC<T>(this NativeList<T> list, T[] array) where T : unmanaged
```

### Parameters

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