# CopyFromSerializedProperty(SerializedProperty)

> Copies a value from a SerializedProperty to the corresponding serialized property on the serialized object.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public void CopyFromSerializedProperty(SerializedProperty prop)
```

### Parameters

**** (\[SerializedProperty]\(/engine/6000.0/script-reference/unityeditor/serializedproperty)):&#x20;
