HDF5Object.copy

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

Copies an object from one location to another.

Parameters

srcLocSource location identifier
srcNameName of the source object
dstLocDestination location identifier
dstNameName for the destination object
ocpyplObject copy property list (default: H5P_DEFAULT)
lcplLink creation property list (default: H5P_DEFAULT)

Throws

HDF5Exception if copying fails.