Preserve metadata when copying static files

Previously static files lost their metadata such as the last modified date when generating a site. This change preserves that meta data.