Extracts and returns an array containing all the even numbers from the provided arr, preserving their original order. An element appears in the output if and only if it is even and in the input. Ensure the original order is preserved.