If you go to building mode (E) then go to Delete mode (PC - Del key) (Mac Function + Delete keys) you can click on a building to delete it. If you then leave delete mode (escape key) you can reselect the building as if creating a new one and place it where you want. The building will be replaced without having to construct it from materials.
**Warning - This will screw up any scripts that use the building.