# Save(PackedMemorySnapshot, string)

> Copy the memory snapshot file to the given file path.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Profiling.Memory.Experimental](/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public static void Save(PackedMemorySnapshot snapshot, string writePath)
```

### Parameters

**** (\[PackedMemorySnapshot]\(/engine/6000.5/script-reference/unityeditor/profiling/memory/experimental/packedmemorysnapshot)): Source memory snapshot.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Where to create copy of memory snapshot.
