How to open copied database for SQLite

Hi;

I’m copied my sqlite database tor emulator like

File.copyFile(cordova.file.applicationDirectory + ‘www/’, “serlang.db”, cordova.file.dataDirectory, “serlang.db”)

then I want to open copied database file,because it’s not open.

this.database = new SQLite();
this.database.openDatabase({
name: “serlang.db”,
location: “default”,

        }).then(() => {
            //alert("database açılddı");
            this.refresh();

        }, (error) => {
           alert("Unable to open database"+ error);
            
        });