# CopyFrom(NativeReference<T>)

> Copy the value of another reference to this reference.

## Definition

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

```csharp
public void CopyFrom(NativeReference<T> reference)
```

### Parameters

**** (\[NativeReference\<T>]\(/engine/6000.7/script-reference/unity/collections/nativereference1)): The reference to copy from.
