A regular octagon rotates 360° about its center. How many times does the image of the octagon coincide with the preimage during the rotation?
1. 2
2. 4
3. 6
4. 8