As the title suggests, is there a builtin library for moving a file and replacing an existing file if it exists?
I tried os.rename(path1, path2), but that doesn't seem to handle overwriting existing files.
Working with a pycom gpy, if that matters.
Thanks in advance