Ok, so I already know how to copy a file in my machine to another one, and when I do it, (I'm trying to copy it to a sudo protected directory) it says permission denied. I do not know where to put the sudo so it isn't in my machine but it doesn't get in the way of the directory. Here's what I normally type:
scp /Users/username/Documents/folder/folder/script.py pi@192.168.x.xx:/usr/local/bin