Useful for:

  • Saving documents to ensure there is always a non-broken version
  • git refs operations

Posix: rename Windows: ReplaceFile