I have wrote this code to add text from one richbox to another without the stop words but it is copying all the text from richtext1
     string[] Stopwords = { "a", "about", "actually", "after", "also", "am", "an", "and",
 "any", "are", "as", "at", "be", "because", "but", "by", "could", "do", "each", "either",
 "en", "for", "from", "has", "have", "how","i", "if", "in", "is", "it", "its", "just",
 "of", "or", "so", "some", "such", "that", "the", "their", "these", "thing", "this", "to",
 "too", "very", "was", "we", "well", "what", "when", "where", "who", "will", "with",
 "you", "your"
            };
This the code in the button that should do it
private void button2_Click(object sender, EventArgs e)
        {
            string st = richTextBox1.Text;
            string[] split = st.Split(' ');
            richTextBox2.Text = "";
            int c = 0;
            foreach (string s in split)
            {
                if (!Stopwords.Contains(s))
                {
                    richTextBox2.Text += s + " ";
                }
                else c++;
            }
        }
when I write if (Stopwords.Contains(s)) it prints all stop words in richtext1
 
     
    