[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TBits.CopyBits

Copy bits from one bits set to another

## Declaration

Source position: classesh.inc line 405

`public procedure TBits.CopyBits(`
`BitSet: TBits`
`);`

## Description

CopyBits copies the bits from BitSet to the current Bits. Existing bits will be overwritten. The two sets of bits will be equal after this operation.

## Errors

None.

## See also

TBits.Equals |  | Determines whether the bits of 2 arrays are equal.

Documentation generated on: May 14 2021