This behavior indicates there is a problem with the SD card. I have encountered the same issues as well, but I formatted the SD card and then copied something, and the moment I detached the SD card from the card reader, all the content disappeared and the initial content was shown instead. That means it's a faulty SD card and you should acquire another one.
There are no tools available to fix these issues with SD cards.