The copy command copies one memory area from one addresss to another address.

Command Format

copy from to size


from address where to copy from
to address where to copy to
size number of bytes to copy

Functional description

The copy command is used to copy an area of memory from one address to another address. If the source and destination areas overlap, copy will copy in the direction that will result in a non destructive copy.

When the copy operation is finished any caches will be synchronized so any code copied will be cached in correctly by the processor caches.


The copy command uses no environment variable.

See Also

The fill command.

Powered by Drupal, an open source content management system