# Move file

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-16fe17ef234f0a75f66653bd0d591d691075f801%2Fimage%20\(114\).png?alt=media)

Element that moves a file

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-224ae2277205f59e933867603fd5e9047a2c7d28%2F1%20\(97\).png?alt=media)

Properties

\- Source\*: \[String] Path to a source file (c:\folder\file1.txt)

\- Destination\*: \[String] Path to a destination file (c:\folder\file2.txt)

\- Rewrite: \[Boolean] Sign of destination file rewriting

```
C#
System.IO.File.Move(@"C:\from", @"C:\to");

Python
System.IO.File.Move("C:\\from", "C:\\to")

JavaScript
_lib.System.IO.File.Move("C:\\from", "C:\\to");
```
