Are you just trying to copy an array here?  `sourceValues.slice(0);` is what you want.