StaticMesh To DynamicMesh

I have a StaticMesh that have multi-section with multi-material. But when i convert it to dynamic mesh with CopyMeshFromStaticMesh only have one material. Is there anyway to do this?