Add rudimentary copy implementation.