To duplicate a building, you must switch to the site view and select the building to be duplicated. The "Duplicate building" function will then be activated and you can use it.