You don't want to replace the rename with a delete followed by a copy, you just use a copy. If you first delete the target then you will lose all hard links, as well as losing the permissions on the file and its ownership.