It's the same joint action for both exercises - hip and knee extension, so both target the glutes, hamstrings, and quadriceps.
The step up allows for a greater range of hip and knee extension, which places more focus on the glutes and quads, but Nancy is right. They do the same things.
-Roe