Added Array index out of bounds error catch. But not handled by the app.
Added copy constructor - and date format