I have an two arrays of objects. My goal is to replace an object from the second array into the first one based upon \'id\'. I have a working solution, but would like to ext