[updated] Copy methods for Task.java, FloatingTask.java,
DeadlineTask.java, TimedTask.java