When you upload a file that has the exact same name as a file that already exists in the system, a new file with the same name will be created.  It will not automatically overwrite the original file.  When queuing files in the uploader, you will be warned if a duplicate file name is detected.