Use copymesh().
I've had some minor problems with it though, but normally it shouldn't be a problem.
And if you want to know what you're doing wrong with the types and the error you were getting, please post some code.
I've had some minor problems with it though, but normally it shouldn't be a problem.
And if you want to know what you're doing wrong with the types and the error you were getting, please post some code.