# STD_CopyMemory

## Syntax

      #include <nitro/std.h>

      void* STD_CopyMemory(void *destp, const void *srcp, u32 size);

      void* STD_MemCpy(void *destp, const void *srcp, u32 size);

## Arguments

src | The transfer source address.
dest | The transfer destination address.
size | Transfer size.

## Return Values

None.

## Description

Uses CPU to perform memory copy. It carries out the same operation as the C standard function `memcpy()`.

`STD_MemCpy()` is defined as another name for `STD_CopyMemory()`.

When accessing VRAM, use one of the following functions: `MI_CpuCopy8(), MI_CpuCopy16(), MI_CpuCopy32(), MI_CpuCopyFast()`.

## See Also

`MI_CpuCopy*, `STD_MoveMemory``

## Revision History

2007/12/10 Initial version.

CONFIDENTIAL