Da php.net

"rename — Renames a file or directory"

Ciao