def create_physical_copy(src_name, dest_name, dest_cpg, optional = nil)
      if @current_version < @min_version_with_compression && !optional.nil?
        [:compression, :allowRemoteCopyParent, :skipZero].each { |key| optional.delete key }
      end
      begin
        @volume.create_physical_copy(src_name, dest_name, dest_cpg, optional)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
def create_physical_copy(src_name, dest_name, dest_cpg, optional = nil)
      if @current_version < @min_version_with_compression && !optional.nil?
        [:compression, :allowRemoteCopyParent, :skipZero].each { |key| optional.delete key }
      end
      begin
        @volume.create_physical_copy(src_name, dest_name, dest_cpg, optional)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
Creates a physical copy of a VirtualVolume

 ==== Attributes

 * src_name - the source volume name
      type src_name: String
 * dest_name - the destination volume name
      type dest_name: String
 * dest_cpg - the destination CPG
      type dest_cpg: String
 * optional - Hash of optional parameters
      type optional: Hash

      optional = {
       'online' => false,                # should physical copy be
                                         # performed online?
       'tpvv' => false,                  # use thin provisioned space
                                         # for destination
                                         # (online copy only)
       'snapCPG' => 'OpenStack_SnapCPG', # snapshot CPG for the
                                         # destination
                                         # (online copy only)
       'saveSnapshot' => false,          # save the snapshot of the
                                         # source volume
       'priority' => 1                   # taskPriorityEnum (does not
                                         # apply to online copy - Hpe3parSdk::TaskPriority)
      }