copying TimeProcessLib and TimeEventLib