Remove copy_imag and copy_real methods (#39065)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39065
Test Plan: Imported from OSS
Differential Revision: D21803939
Pulled By: anjali411
fbshipit-source-id: c7313c527eb6b54d49ef46aa0a839a3418fa8d7e