Link.copy

void copy(hid_t srcLoc, string srcName, hid_t dstLoc, string dstName, hid_t lcpl = H5P_DEFAULT, hid_t lapl = H5P_DEFAULT)

Copies a link to a new location.

Parameters

srcLocSource location identifier
srcNameName of the link to copy
dstLocDestination location identifier
dstNameName for the new link
lcplLink creation property list (default: H5P_DEFAULT)
laplLink access property list (default: H5P_DEFAULT)

Throws

HDF5Exception if the copy fails.