JDK-8329884 Serial: Fix build failure due to ‘Copy’ has not been declared
Commit openjdk/jdk/94677200
Review openjdk/jdk/18678