public static Password copyOf(char[] password) {
		Password result = new Password();
		result.password = new char[password.length];
		System.arraycopy(password, 0, result.password, 0, password.length);
		return result;
	}
Creates a new {@code Password} using a copy the specified characters.

@param password password characters
@return new {@code Password} instance
Ghidra/Framework/Generic/src/main/java/ghidra/framework/generic/auth/Password.java