A database is a database. The fact that you detach it then attach it, does not change it in any way. It is simply a way of moving the database and log files to another machine.
You could also create a back up and do a restore, however I think using the detach/attach method is easier.