How does cid make power?

The longer the stroke and the bigger the bore the engine is capable of pulling in more air and fuel at any given rpm. Thus, making more power.

I wouldn't say at any given rpm, a 400 with run out of steam way before a 289 with similar top end but ya idle to where ever the rpm 289 starts to takes over.