Changing the ISO at time of exposure actually increase the amplification at the sensor level. Changing the exposure in post processing just shifts bits around (the advantage of RAW is that, depending on the camera, it captures between 12-16 bits vs. 8bits for jpeg images and it's not compressed so shifting the bits around doesn't have quite as noticeable an effect).