Copy a string array object from source to target.
Note: target is overwritten and hence should be empty, otherwise its contents are leaked. Call git_strarray_free() if necessary.
target
source
0 on success, < 0 on allocation failure