pub fn array_replace(array: Expr, from: Expr, to: Expr) -> Expr
replaces the first occurrence of the specified element with another specified element.