Do bulk smushed images automatically replace the originals?

When bulk smushed images are downloaded, do they replace the original images? ie. do they have the same file name and location so no further action is needed for them to be used instead of the originals on the site?

Just want to check before I download.

many thanks