copy

fun copy(name: Int = this.name, isStart: Boolean = this.isStart, isAcceptingState: Boolean = this.isAcceptingState): State

Create a shallow copy