copy
The command copy
allows to copy regions of data inside an IO
space, or between different IO spaces.
This command has the following prototype:
defun copy = (int from_ios = get_ios, int to_ios = get_ios, off64 from = 0#B, off64 to = 0#B, off64 size = 0#B) void:
All arguments are optional. When invoked with no arguments,
copy
does nothing.
The arguments from
and size
determine the region to
copy. By default, this region is taken from the current IO space, but
this can be overwritten using the optional from_ios
argument.
The argument to
tells copy
where to copy the stuff.
Again, this offset is applied to the current IO space by default, but
this can be overwritten using the to_ios
argument.
Note that it is allowed for the source and destination ranges to overlap.