C# matching two text files then copying out
<p>What I have going on is two files, one file contains:</p>

<p>Orange
Apple</p>

<p>The second file contains
Orange~1.txt
Orange~2321.txt
Apple~12.txt
Apple~23.txt
Ap~23.txt
OROR~23.txt</p>

<p>What I need to do is is if the first file matches a line in the second file, copy that file out to a new directory.   What I have going on now never finds any matching items. </p>

<pre><code>string[] content = File.ReadAllLines(@"C:\Cact.txt");
            string[] mastercontent = File.ReadAllLines(masterdin + "\\Master.txt");
            foreach (string con in content)
            {
                if (mastercontent.Contains(con))
                {
                    File.Copy(masterfolder + "\\" + con, masterdin);
                }
            }
</code></pre>
