mkhtml2: add code to copy html resources