Enumeration sourcePermissions = securityHelper
.enumeratePermissions(token, sourceNode);
while (sourcePermissions.hasMoreElements()) {
NodePermission permission =
(NodePermission) sourcePermissions.nextElement();
NodePermission newPermission =
new NodePermission(destinationUri,
permission.getSubjectUri(),
permission.getActionUri(),
permission.isInheritable(),
permission.isNegative());
securityHelper.grantPermission(token, newPermission);