Copy an already raw oid into a git_oid structure.
oid structure the result is written into.
the raw input bytes to be copied.
0 on success or error code
See Implementation
Copy an already raw oid into a git_oid structure.