Replace lowest number in Array

Hello folks!

I have a hopefully very easy to solve problem that, however, I couldn’t come up with a solution for yet. I have a simple Array and all I want to do is detect which entry (numbers) in this Array has the lowest value and replace it with something else. I want to do this without rearranging the Array, because the position of the lowest value is of greatest importance.

Does anybody know a sexy solution for this?

Thanks in advance!