The level four boss in Kirby: Nightmare in Dream Land—the big eyeball—looks intimidating, but with the right ability it's very manageable. The key is arriving with the High Jump power.
To get it, use the Warp Star (the door with a star above it, near the boss) to fly to Butter Building in level 3. If you don't have the star yet, simply head to Butter Building directly. Once there, visit the Butter Building museum and inhale and swallow the High Jump enemy to gain the ability.
Now return to the level four boss. While flying, press B to soar upward with High Jump (tap B again to stop early). Keep climbing between the arena's higher floors so the boss can't keep pace. Because the boss is so wide, it's an easy target—pummel it with High Jump and it'll go down before long. Beat it, and you'll unlock Yogurt Yard and can continue toward the final showdown for that classic happy ending.