Growth and preservation of entanglement in a many-body localized system