## SIVector3.Copy

### Description

Copies the values of a given vector into this one.

### C# Syntax

    SIVector3.Copy( SIVector3 in_pVector );

### Scripting Syntax

    SIVector3.Copy( SrcVector );

### Parameters

Parameter | Type | Description
--- | --- | ---
SrcVector | SIVector3 | The source vector

### Examples

#### VBScript Example

    dim v1, v2

    ' Create 3D vectors.

    set v1 = XSIMath.CreateVector3(1.0, 2.0, 3.0)

    set v2 = XSIMath.CreateVector3

    ' v2 = v1

    v2.Copy v1

### See Also

SIVector3.Set SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion