how to copy relationship of a feature class to a new filegdb

Jun 5 2014 12:17 AM
using Arc objects I need to copy feature class to a new file geodatabase,but along with feature class its relationship should also be copied. Its possible using consolidated map geoprocessing tool, but i want to implement using Arc objects.