# CopyTo(NativeReference<T>)

> Copy the value of this reference to another reference.

## Definition

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

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

### Parameters

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