Please look at the documentation before coming here:
https://docs.brightway.dev/en/latest/content/cheatsheet/databases.html
It is clearly explained here: copied_database = bd.Database('<database_name>').copy('<new_name>')
copied_database = bd.Database('<database_name>').copy('<new_name>')