Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_COPY

# H5T_COPY

The H5T_COPY function copies an existing datatype. The returned type is transient and unlocked.

## Syntax

Result = H5T_COPY(Datatype_id)

## Return Value

Returns the datatype’s identifier number. This identifier can be released with the H5T_CLOSE procedure.

## Arguments

### Datatype_id

An integer representing the datatype’s identifier to be copied.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_CLOSE, H5T_OPEN