# CopyTo<T>(ref T)

> Copies the characters from a BlobString to a native container

## Definition

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

## CopyTo\<T>(T)

```csharp
public ConversionError CopyTo<T>(ref T dest) where T : INativeList<byte>
```

### Parameters

**** (T): The destination BlobString.

### Returns

| Type                                                                                    | Description                                                    |
| --------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [ConversionError](/engine/7000.0/script-reference/unity/collections/conversionerror.md) | None if the copy fully completes. Otherwise, returns Overflow. |
