Add Arrays::replaceValue
Simpler approach