I am using this type of batch file command
echo f | xcopy /f /y "C:\path\filename.txt" "D:\archive\filename%date%_%SAVESTAMP%.txt"
And it is creating the same file in my archive from 2-3 times. I've checked the original directory and there is only the one filename.txt file.
They all have the same date modified and size:
But the SAVESTAMP varies: