Copy all cards from dashboard and paste in another dashboard

I created a couple of month ago a dashbaoard that I want to update to have the same layout and cards as a new one I created recently. Is there any way to achieve this using the metabase API ?

If you can do it in the web application (you can), you can do it in the API.
Do the copy yourself, then check the logs to see which API calls were used.