Updated to latest version of Rust by removing copy keyword