Remove duplicate WebsiteDataStoreConfiguration copying code