Thanks to visit codestin.com Credit goes to libgit2.org
Copy a string array object from source to target.
This function is deprecated, but there is no plan to remove this function at this time.
target
source
0 on success, < 0 on allocation failure