public static T CopySimpleObject<T>(T SourceObject)
        {
            System.Runtime.Serialization.Formatters.Binary.BinaryFormatter formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
            try
            {
                System.IO.MemoryStream stream = new System.IO.MemoryStream();
                formatter.Serialize(stream, SourceObject);
                stream.Seek(0, System.IO.SeekOrigin.Begin);
                T ret = (T)formatter.Deserialize(stream);
                stream.Close();
                stream.Dispose();
                return ret;
            }
            catch (Exception ex)
            {
                return default(T);
            }
        }