How does cid make power?

So does say two engine same bore different displacement with same or similar level of top end heads cam etc.. Does the larger displacement always come out on top when laying power curves on top of one another? And if does why how?
Cause if displacement wins every time what is stopping the smaller engine turning enough rpms to make up the difference?

Bigger still wins. I already explained it.
Air pump, more air equals more power. There are exceptions where the heads suck and won't make more power but it isn't because Cid isn't everything. It is.

More CID with the same more is more stroke, which means more air both taken in and more expanded. The longer stroke will make more torque AND hp as a result.