How we can copy permissions from google drive to box

I have tried to customize the code in partial fields added permissions as i can see that from google drive api permissions variable are there but how we can use that need some info.

What is the problem you are having with rclone?

Value is null if a check in upload method

Can someone help me in copying the permissions to box or just suggest what part of code i am doing wrong?