# CopyMemblock

## Description

Copies a portion of one memblock to another. Both memblocks must exist and can be of different sizes.

## Definition

CopyMemblock( memSrcID, memDstID, srcOffset, dstOffset, size )

void agk::CopyMemblock( UINT memSrcID, UINT memDstID, UINT srcOffset, UINT dstOffset, UINT size )

## Parameters

- memSrcID - The ID of the memblock to copy from.
- memDstID - The ID of the memblock to copy to.
- srcOffset - The offset in the source memblock to start copying from.
- dstOffset - The offset of the destination memblock to copy to.
- size - The number of bytes to copy.