Before inserting execute the below statement for each table.
for example:
SET IDENTITY_INSERT table_name ON
insert into ...
SET IDENTITY_INSERT table_name Off
if every table in db has an identity field then you can on identity insert for all tables at a time
EXEC sp_MSforeachtable @command1="SET IDENTITY_INSERT ? OFF"