Explicitly set shape and dtype when copying datasets.
Merge branch 'export_tmp' into export