complete mesh copy function (except for redirect)