Rename slurp_properties() to copy_attributes()

copy_attributes() is a much more suitable name for this function.