I've tried documentation and other sources, but I couldn't figure it out thanks in advance
You can export one agent into a .zip file through the agent settings. After that you are able to import the intents and entities from the first agent into another agent in the settings of your Dialogflow project.
You have two options when importing the zip of an agent into your dialogflow project
Restore from ZIP: Overwrites the current agent with the supplied zip file.
Import from ZIP: Adds intents and entities to the current agent from the supplied zip file. If any existing intents or enties have the same name as those in the zip file, they will be replaced.