If you overwrite a file with another of the same properties and name, then no, a second item should not be added to the media library, either the old item will be removed, and a new one added, or if the id3 tag is also identical, then Centova Cast might not detect any changes, in which case it will continue using the same old entry in the media library for the new file.
HTH