Duplicate a collection using python and graphql

Hi guys, does anyone how to duplicate your collection using python and graphql