It will not ask you to overwrite, if the flash is capable to store both the IOS.
Just make sure you got enough space.
And change the boot statement and reboot.
example:
boot system flash:filename1.bin
boot system flash:filename2.bin
So if your IOS dun work you can still boot from the current IOS.
Regards
Ching Foong.