## File::Move method


Moves the specified file to the new location.

```cpp
static void System::IO::File::Move(const String &sourceFileName, const String &destFileName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sourceFileName | const String\& | A file to move |
| destFileName | const String\& | The new location of a file referenced by **sourceFileName** |

## See Also

* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
