First of all, i have no idea why to create another instance of database. Isn't
enough space[
^] to store all data together? In my opinion, it is bad practice.
If you still want to create database based on existing one, please, read this artcile:
SQL Server Management Objects (SMO) Programming Guide[
^] and all related articles.