---
title: CopyFrom(in AnimationStream)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/animationstream/copyfrom
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/animationstream/copyfrom.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:15:04.802Z
locale: en-us
---

# CopyFrom(in AnimationStream)

> Copies all the data from the specified AnimationStream into this AnimationStream. This includes all the animation channel data and channel masks.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

## CopyFrom(AnimationStream)

```csharp
public void CopyFrom(in AnimationStream other)
```

### Parameters

**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream to copy the data and channel masks from.
