Fixed a putData bug and added copy method to Event