Returns a new compoundpath, replacing a path at a given index
Existing compoundpath
Index to replace at
Path to substitute in
New compoundpath
Returns a new compoundpath, replacing a path at a given index