static void CloneVertexAttachment (VertexAttachment src, VertexAttachment dest) { dest.worldVerticesLength = src.worldVerticesLength; if (src.bones != null) dest.bones = src.vertices.Clone() as int[]; if (src.vertices != null) dest.vertices = src.vertices.Clone() as float[]; }