A MERGE statement would do it (based on your limited - and nonsensical - example data set).
MERGE table1 AS t
USING table2 AS s
ON (t.id = s.id)
WHEN MATCHED THEN
SET t.name = s.name,
t.countryno = s.countryno,
t.age = s.age,
t.branchcode = s.branchcode
WHEN NOT MATCHED
INSERT (name, countryno, age, branchcode)
VALUES (s.name, s.countryno, s.age, s.branchcode);
The code above will update any row where the ID from the target table matches the one from the source table. Otherwise, if a match isn't found, the source row will be added to the target table.
If my example, you will end up with three records in the target table.
CAVEAT: I typed this off the top of my head, so it may need some minor tweaking to actually execute.