How to move a file or folder to another directory?

Godot Version

Godot 3.5.3

Question

how to move a file or folder to another directory using code?

DirAccess.rename()

Not 4.
Rename - simply rename

oh, then Directory.rename()