## Memory::TryCopyTo method


Attempts to copy the contents of this memory to the destination memory.

```cpp
bool System::Memory<T>::TryCopyTo(const Memory &destination)
```


| Parameter | Type | Description |
| --- | --- | --- |
| destination | const Memory\& | The destination memory segment. |

### ReturnValue

True if the copy succeeded; otherwise, false.

## See Also

* Class [Memory](../)
* Class [Memory](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
