As reflected in issue https://github.com/vperezb/google-api-support/pull/29, new functions have been added to deal with shared permissions.
Many thanks to silvia-ventoruzzo for the new functionality!
More details on this update are below:
new function retrieve_permissions to extract permissions of a file (taken from [DriveAPI](https://developers.google.com/drive/api/v2/reference/permissions/list) )
New function insert_permission to insert new permission into a file (rework of the V2 version shown [here](https://developers.google.com/drive/api/v2/reference/permissions/insert)
new function copy_permissions which is a combination of the two previous functions and takes the permissions of one file and puts them into another (unless transfer ownership is not allowed, in which case the owner because a writer)
added the argument transfer_permissions into the function copy_file which uses the latter function to transfer permissions to the file copy
created an example notebook to show how this argument changes the result