Can I Duplicate a Native Component for different behavior?

TLDR;

I want to duplicate a Native Component (DefaultPawn) and keep all its settings and code, but make a minor change in its implementation (collision cube instead of sphere).


I’m new to Unreal Engine. Background is old-school programmer. Very familiar with c++. I want to master Unreal Engine development.

I’m implementing a controllable pawn instead of character. I’ve managed get it running using a custom mesh and my player blueprint is derived from DefaultPawn. DefaultPawn solved a lot of problems I was having trying to use Pawn, so I want to keep that class, but I want to change the spherical collision to a cube (or even mesh, since my meshes will be simple for this project). I can’t find any way to change the Collision Component in the DefaultPawn to use a cube.

I’m thinking It would be great if I could just take the DefaultPawn implementation, duplicate it to be MyDefaultPawn and in there change the CollisionComponent to cube. I might even find other implementation details to change later as I learn more.

Is there a proper way for me to duplicate the Native Component like that, or is part of it hidden in a “black box”? I’m assuming it is much harder than simply duplicating a source code file because of all the blueprint settings and such.

I’m not ready to just write my own implementation yet.

Thanks.