Copy wordpress settings to another blog

This is a bit too unspecific, but generally all the configuration is in the database so you need to clone that.

Generally for automating things you should have a look at WP-CLI if you feel comfortable working on the command line.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)