I want to make a button that automatically copies the page to another parent when pressed. How can I do this with mySql or with any other rest api?