Replace Config from External SD card

I have been poking around the gcode section and wondering what commands will allow me to override the internal Micro SD card with commands from the External Micro SD card. I want to update my printer with the External SD card using the a .gcode file I create. I want to initiate that, and override the Firmware.CUR with FIrmware.BIN and replace the Config file with a new config file, and delete the config override file.
Any direction on this would be helpful. I have been trying to do it myself with no success.

Imported from wikidot