declare function dcopy(arg: T): T export default dcopy