How To Compare 2 different files

Hi All,
i have 2 files A and B i need to compare A and B line by line and any changes should be popped into new file C

A contains
A B C D E
F G H I J
K L M N O

B contains
A B C D E
1 2 3 4 5
K L M N O

C should contains
A B
F G H I J 1 2 3 4 5

How would the following two file appear in the output file?

Test1
A B C F
1 2 3 4
G H I J
7 8 9 4
Test2
A B C D
G H I J
1 2 3 4

Note: extra lines, out of order lines, all fields except last the same, field in two different lines.

File 1
A B C D E
F G H I J
K L M N O

File 2
A B C D E
1 G H I J
K L M N O

out put File shoul look like

line 2 column 1 there is a difference and should display the line 1 G H I J

You can start with:

sdiff -s file1 file2
diff -f file1 file2
comm -3 file1 file2