Yes. PHP: <?php$chunk = $level->getChunk($x1 >> 4, $z1 >> 4); //$level is a Level object, $x1 & $x1 are integers :)$level->setChunk($x2, $z2, $chunk); //$x2 & $z2 are integers :)
That will cause unexpected behaviour when you modify either chunk, because they share an object. It may also cause unexpected behaviour for entities residing in that chunk. You need to properly copy it (fastSerialize()/fastDeserialize() is probably currently the simplest way to do it, but this won't copy tiles or entities).