what i need to do is have [login to view URL] that function working on php with the google php client found here [login to view URL]
this is a really simple job to do, i almost have it working but something is not right, file is never copied because it results in a protected file
in order to achieve this, you must have a service account set up in the google api console, have the corresponding p12 key file and share the sheet you want to copy with the service account email show on the api console.