Use new alterCdmType functionality
Use emutils.copyFile()