inserting a file into another file

Hello, i have 2 files with the same number of lines and i want to have the first file entries to be inserted into the 2nd file lines but infront of them , i.e
file1:
myname
hisname
hername

file2:
=fine
=mine
=pine

the output file should be like this:

output:
myname=fine
hisname=mine
hername=pine

and so on , is it possible to do it with simple script?

funny to answer my self by someone over IRc helped me hehe

diff --side-by-side code1.txt code2.txt | tr -d '\t ' | awk -F \| ' { print $1$2 } '

Or if you have the "paste" command, you could use that...

paste file2 file1 | tr -d "\t"