How to duplicate entire custom post type
I have a custom post type created in my theme, the post type is called “Portfolio”. I would like to entirely duplicate this custom post type and give it the name “Projects” so it would display in the admin menu as a new post type.