The air rotates along with the Earth. If it didn't there would be a constant wind of hundreds of miles per hour as Earth rotated but the air remained still. So a helicopter hovering in the air is always above the same spot on the ground.