Batch Script for copy compared file

I have been working with some batch files now I want to create a batch file which copy text from another file and compare to other files so if somebody have some solution over it please revert and please mail your suggestion with a subject line batch copy compared file.
