onBeforecopy Event test sample