Changing existing program on atmega 328, what if?

If you upload a program to an Arduino the existing program is erased, except for the bootloader.