code: void copyTo(KeyState target) {
          keysPressed.copyTo(target.keysPressed);
          target.window = window;
          target.modifiers = modifiers;
      }
docs: Copies the contents of this state object to another.
  
  @param target The KeyState to which to copy this state's data.