How to reproduce:
1) Create a text file titled: "a.txt" (all lowercase). Write the small "a" inside the file.
2) In different directory, create a text file titled: "A.txt" (note capital "A"). Write capital "A" inside the file.
3) Copy the file "A.txt" to directory where the file "a.txt" is located.
4) You will be asked to Overwrite: "a.txt" with file: "A.txt". Click the "Overwrite" button.
Now, you can see that the filename of the overwritten file is still "a.txt", but the content of the file has been changed to "A".
I think the proper behavior would be to replace the content of the file and also to change the filename so that the capital letters of the new file are preserved. The reason for that is that if I click the overwrite button I very likely do not care about the old file but want to keep the new file. Moreover, before overwrite operation the Total Commander asked me if I let him to: "Overwrite a.txt with file: A.txt". But he just copied the content of the file.
Unfortunately the same behavior can be found in Windows, which I still believe is incorrect. By the way, in the same situation the Win 10 will notify you that 'The destination already has a file named "A.txt"', which is not correct since the name of the old file is "a.txt"
