Cuboid copy, replace, and mirror