Copy mode reimplemented