Restore the "var copyVersion" declaration accidentally removed by the previous commit.