List of utility methods to do Array Replace
return replaceWithValues(subject, needle, Arrays.copyOf(values, values.length, Object[].class));