added support for Data.SafeCopy