Copy test resource to avoid modification