<commit_before>﻿namespace Dnfeitosa.Enums.Serialization
{
    internal class PropertiesCopier
    {
        public void Copy(IEnum from, IEnum to)
        {
            var properties = from.GetType().GetProperties();

            foreach (var property in properties)
            {
                var value = property.GetValue(from, null);
                property.SetValue(to, value, null);
            }
        }
    }
}<commit_msg>fixed properties copier<commit_after>﻿namespace Dnfeitosa.Enums.Serialization
{
    internal class PropertiesCopier
    {
        public void Copy(IEnum from, IEnum to)
        {
            var properties = from.GetType().GetProperties();

            foreach (var property in properties)
            {
                var value = property.GetValue(from, null);
                if (property.CanWrite)
                    property.SetValue(to, value, null);
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.08472803347280335, 'fraction_numerical': 0.0, 'mean_word_length': 1.5656836461126005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4932682', 'n_tokens_mistral': 250, 'n_tokens_neox': 239, 'n_words': 56}