/// <summary>Replaces the contents of a specified file with the file described by the current <see cref="FileInfo"/> object, deleting the original file, and creating a backup of the replaced file.</summary>
/// <returns>A <see cref="FileInfo"/> object that encapsulates information about the file described by the <paramref name="destinationFileName"/> parameter.</returns>
/// <remarks>
/// The Replace method replaces the contents of a specified file with the contents of the file described by the current
/// <see cref="FileInfo"/> object. It also creates a backup of the file that was replaced. Finally, it returns a new
/// <see cref="FileInfo"/> object that describes the overwritten file.
/// </remarks>
/// <remarks>Pass null to the <paramref name="destinationBackupFileName"/> parameter if you do not want to create a backup of the file being replaced.</remarks>
/// <param name="destinationFileName">The name of a file to replace with the current file.</param>
/// <param name="destinationBackupFileName">The name of a file with which to create a backup of the file described by the <paramref name="destinationFileName"/> parameter.</param>
/// <summary>Replaces the contents of a specified file with the file described by the current <see cref="FileInfo"/> object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.</summary>
/// <returns>A <see cref="FileInfo"/> object that encapsulates information about the file described by the <paramref name="destinationFileName"/> parameter.</returns>
/// <remarks>
/// The Replace method replaces the contents of a specified file with the contents of the file described by the current
/// <see cref="FileInfo"/> object. It also creates a backup of the file that was replaced. Finally, it returns a new
/// <see cref="FileInfo"/> object that describes the overwritten file.
/// </remarks>
/// <remarks>Pass null to the <paramref name="destinationBackupFileName"/> parameter if you do not want to create a backup of the file being replaced.</remarks>
/// <param name="destinationFileName">The name of a file to replace with the current file.</param>
/// <param name="destinationBackupFileName">The name of a file with which to create a backup of the file described by the <paramref name="destinationFileName"/> parameter.</param>
/// <param name="ignoreMetadataErrors"><see langword="true"/> to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise, <see langword="false"/>.</param>
/// <summary>[AlphaFS] Replaces the contents of a specified file with the file described by the current <see cref="FileInfo"/> object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.</summary>
/// <returns>A <see cref="FileInfo"/> object that encapsulates information about the file described by the <paramref name="destinationFileName"/> parameter.</returns>
/// <remarks>
/// The Replace method replaces the contents of a specified file with the contents of the file described by the current
/// <see cref="FileInfo"/> object. It also creates a backup of the file that was replaced. Finally, it returns a new
/// <see cref="FileInfo"/> object that describes the overwritten file.
/// </remarks>
/// <remarks>Pass null to the <paramref name="destinationBackupFileName"/> parameter if you do not want to create a backup of the file being replaced.</remarks>
/// <param name="destinationFileName">The name of a file to replace with the current file.</param>
/// <param name="destinationBackupFileName">The name of a file with which to create a backup of the file described by the <paramref name="destinationFileName"/> parameter.</param>
/// <param name="pathFormat">Indicates the format of the path parameter(s).</param>
/// <summary>[AlphaFS] Replaces the contents of a specified file with the file described by the current <see cref="FileInfo"/> object, deleting the original file, and creating a backup of the replaced file. Also specifies whether to ignore merge errors.</summary>
/// <returns>A <see cref="FileInfo"/> object that encapsulates information about the file described by the <paramref name="destinationFileName"/> parameter.</returns>
/// <remarks>
/// The Replace method replaces the contents of a specified file with the contents of the file described by the current
/// <see cref="FileInfo"/> object. It also creates a backup of the file that was replaced. Finally, it returns a new
/// <see cref="FileInfo"/> object that describes the overwritten file.
/// </remarks>
/// <remarks>Pass null to the <paramref name="destinationBackupFileName"/> parameter if you do not want to create a backup of the file being replaced.</remarks>
/// <param name="destinationFileName">The name of a file to replace with the current file.</param>
/// <param name="destinationBackupFileName">The name of a file with which to create a backup of the file described by the <paramref name="destinationFileName"/> parameter.</param>
/// <param name="ignoreMetadataErrors"><see langword="true"/> to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise, <see langword="false"/>.</param>
/// <param name="pathFormat">Indicates the format of the path parameter(s).</param>