Extracts and returns an array containing all the even numbers from the provided arr.