Updated:

The basic form

/clone 100 64 100 110 70 110 200 64 100

The first three numbers are one corner of the area, the next three are the opposite corner, and the last three are the destination. The destination is always the corner with the smallest X, Y and Z (the lower north-west corner) of the copy, whichever corner you listed first.

Finding the coordinates

On Java, press F3 and look at Targeted Block on the right while you aim at a corner block. On Bedrock, turn on Show Coordinates and stand on the corner block.

Modes

OptionWhat it does
replace (default)Copies everything, including air.
maskedCopies only non-air blocks, so existing blocks at the destination are kept.
filtered <block>Copies only that block.
normal (default)A plain copy.
moveCopies, then fills the source with air.
forceAllows the source and destination to overlap.
/clone 100 64 100 110 70 110 200 64 100 masked
/clone 100 64 100 110 70 110 105 64 100 replace force
/clone 100 64 100 110 70 110 200 64 100 filtered minecraft:stone_bricks

The second line shifts a copy five blocks east even though it overlaps the original. Use replace move instead to move the build and leave air behind; if the areas overlap, place it somewhere free first.

How much you can copy

By default Java copies up to 32,768 blocks per command. Count blocks as (X difference + 1) × (Y difference + 1) × (Z difference + 1). The example above is 11 × 7 × 11 = 847 blocks. Split large builds into several slices.

Reset an arena

Keep an untouched copy of the arena somewhere out of sight, then copy it back over the play area after each round:

/clone 1000 10 1000 1040 30 1040 0 60 0

Both areas must be loaded. On Java, /forceload add 1000 1000 1040 1040 keeps the backup chunks loaded.

What is and is not copied

Common problems

Check your command

The Command Error Doctor checks common syntax mistakes in your browser.