Copies the contents of a path buffer into a new GPathBuf.
GPathBuf
the newly allocated path buffer
2.76