With this function you can copy the path data from one path to another. The path being copied to will be cleared first (should it have any path points) and be completelyoverwritten by the path being copied from. Neither path is deleted in the process and the result is two paths, with two different indexes, but the exact same form and points.
|index||The index of the path to be overwritten.|
|path||The index of the path that will overwrite 'index'.|
mypath = path_add();
path_assign(mypath, choose(path_1, path_2, path_3));
The above code will create a new, empty path indexed in the variable "mypath" and then copy over the path data from one of the three available path resources.