Returns a new list with all occurrences of the specified oldValue replaced by the newValue.
A new list with the replacements made.
The value to be replaced.
The value to replace with.