Updates for deprecations in nightly
Updates for deprecations in nightly

use clone_from_slice() instead of copy_memory()

max_by() renamed to max_by_key()

Signed-off-by: Andy Grover <b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com>

agrover/froyo